<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<link rel="stylesheet" href="/static/css/dialog.css"/>

<div class="studentHighSearch dialog_content clearfix " style="left:35%;width: 550px;height:380px;">
    <div class="title dialog_title">
        <p class="iconfont icon-password"></p>
        <span>高级搜索</span>
        <i class='iconfont icon-close dialog_close' onclick='dialog_close()'></i>
    </div>
    <div class="content clearfix" style="padding-top:20px!important;padding-bottom:20px!important;">
        <div class="SHinput" style="margin-left:20px">
            <i style="color: #ffffff">*</i><span style="width: 90px">班级/class:</span>
            <input type="text" id="clas" placeholder="请输入班级搜索关键字(非必选)"> <br/>
            <div class="errorMsg"></div>
            <%--<p class="iconfont icon-success" style="right:60px!important;"></p>--%>
            <%--<p class="iconfont icon-error" style="right:60px!important;"></p>--%>
        </div>
        <div class="SHselect " style="margin-left:20px">
            <i style="color: #ffffff">*</i><span style="width: 90px">性别/gender:</span>
            <div class="SHselect-father">
                <input type="text" id="gender" readonly="readonly" placeholder="请选择性别(非必选)">
                <input type="hidden">
                <p class="iconfont icon-jiantouxia"></p>
                <div class="SHselect-son">
                    <ul>
                        <li><span>男</span></li>
                        <li><span>女</span></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="SHselect " style="margin-left:20px">
            <i style="color: #ffffff">*</i><span style="width: 90px">学院/College:</span>
            <div class="SHselect-father">
                <input type="text" id="college" readonly="readonly" placeholder="请选择学院(非必选)">
                <input type="hidden">
                <p class="iconfont icon-jiantouxia"></p>
                <div class="SHselect-son">
                    <ul>
                    </ul>
                </div>
            </div>
        </div>


        <div class="end" style="left:220px!important;bottom: -40px!important;">
            <button class="cancel" onclick="dialog_close()">取消</button>
            <button id="studentHighSearchResetBtn" style="margin-left:20px;background-color: #ed556a9c" >重置
            <button id="studentHighSearchBtn" style="margin-left:20px;" >查询
            </button>
        </div>


    </div>
</div>
<script type="text/javascript" src="/static/js/idms.js"></script>
<script type="text/javascript" src="/static/js/admin/studentDetail.js"></script>
<script type="text/javascript" src="/static/js/admin/studentHighSearch.js"></script>
<script type="text/javascript">
    setTimeout(function () {
        $(".SHselect-son").children("ul").children("li").click(function () {
            // console.log(1);
            $(this).parent().parent().parent().children("input").val($(this).children("span").text());
            $(this).parent().parent().parent().children("input").next().val($(this).children("div").text());
            $(this).parent().parent().parent().children("input").addClass("SHselect-success");
        });
    }, 1000);
</script>

